package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ydd_tag")
public class Tag implements Serializable {

    //id  自增
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //标签名
    private String tagname;

    //违规  1 不违规  0  违规
    @TableField("default_data")
    private String defaultData;


}
